import { constantRoutes } from '@/router'
export default {
  // 将路由配制数据拿过来，和路由配制数据保持同步
  // 1:默认就是静态路由数据
  //  2:addRoutes动态添加完路由配制数据后也要在这里同步一下
  namespaced: true,
  state: {
    routesList: constantRoutes
  },
  mutations: {
    setRoutesList (state, value) {
      state.routesList = value
    }
  },
  actions: {},
  getters: {}
}
